/*
 * Copyright (c) 2011, All Rights Reserved
 * 
 * AdminController.java
 * Modification History
 * *************************************************************
 * Date				Author			Comment
 * 23042011			venky			Created
 * *************************************************************
 */
package my.project.builder.controller;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import my.project.builder.dto.UploadDTO;

import org.springframework.stereotype.Controller;
import org.springframework.web.servlet.ModelAndView;
import org.springframework.web.servlet.mvc.multiaction.MultiActionController;

/**
 * Admin Controller
 * @author venky
 *
 */
@Controller
public class AdminController extends MultiActionController
{
	public ModelAndView upload(HttpServletRequest request,
			HttpServletResponse response, UploadDTO uploadDTO) throws Throwable
	{
		System.out.println("Id: " + uploadDTO.getFileId());
		return new ModelAndView("/home");
	}
}
